﻿@if(Request.IsAuthenticated) {
    <strong>@User.Identity.Name</strong>
    @Html.ActionLink(T("Выйти").ToHtmlString(), "LogOff", "Account")
}
else {
    @:@Html.ActionLink(T("Войти").ToHtmlString(), "LogOn", "Account")
}
